{% extends 'base.html' %}

{% block body %}

<form method="POST" action = "/sign">
    {% include 'userForm.html' %}
    <div class="form-group">
        <label>密码</label>
        <input type="password" class="form-control" id = "password" placeholder="密码" name = "password">
      </div>
    <div class="form-group">
        <label>确认密码</label>
        <input type="password" class="form-control" placeholder="确认密码" name = "password2">
      </div>
    <div style = "padding: 10px;">
        <a class="btn btn-default" href="/login"  role="submit" style="float: left">返回</a>
        <input class="btn btn-success" type="submit" style="float:right" value="注册">
        {% if msg %}
        <span style = "color:red;">{{ msg }}</span>
        {% endif %}
    </div>
</form>

{% endblock %}